<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$config = array(
			'home/login' => array(
					array(
						'field'	=>	'username',
						'label'	=>	'User Name',
						'rules'	=>	'trim|required|valid_email|xss_clean'
					),
					array(
						'field'	=>	'password',
						'label'	=>	'Password',
						'rules'	=>	'trim|required|min_length[5]|max_length[25]|alpha_numeric|xss_clean'
					),
				),				
			'home/register' => array(
					array(
						'field'	=>	'email',
						'label'	=>	'Email',
						'rules'	=>	'trim|required|valid_email|xss_clean'
					),
					array(
						'field'	=>	'password',
						'label'	=>	'Password',
						'rules'	=>	'trim|required|min_length[5]|max_length[25]|alpha_numeric|xss_clean'
					),
					array(
						'field'	=>	'passconf',
						'label'	=>	'Confirm Password',
						'rules'	=>	'required|matches[password]'
					)
				),				
			'home/contact' => array(
					array(
						'field'	=>	'name',
						'label'	=>	'Your Name',
						'rules'	=>	'trim|required|xss_clean'
					),
					array(
						'field'	=>	'email',
						'label'	=>	'Your Email',
						'rules'	=>	'trim|required|valid_email|xss_clean'
					),
					array(
						'field'	=>	'message',
						'label'	=>	'Message',
						'rules'	=>	'required|xss_clean'
					)
				),				
			'new_user/index' => array(
					array(
						'field'	=>	'first_name',
						'label'	=>	'First Name',
						'rules'	=>	'trim|required|xss_clean'
					),
					array(
						'field'	=>	'last_name',
						'label'	=>	'Last Name',
						'rules'	=>	'trim|required|xss_clean'
					),
					array(
						'field'	=>	'graduation_year',
						'label'	=>	'Graduation Date',
						'rules'	=>	'trim|required|xss_clean'
					)
				)
			);